﻿using KingsSharp.Core.Data;
using System;

namespace CRM.Admin.Contracts.Dto.Logs
{
    public class LoginLogDto : IAddDto, IEditDto<Guid>
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 动作
        /// </summary>
        public string Action { get; set; }
        /// <summary>
        /// IP地址
        /// </summary>
        public string Ip { get; set; }

        /// <summary>
        /// 浏览器
        /// </summary>
        public string Browser { get; set; }

        /// <summary>
        /// 操作系统名称
        /// </summary>
        public string SystemName { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string LoginCode { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 登陆地区
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 获取或设置 创建时间
        /// </summary>
        public string CreatedTime { get; set; }
    }
}
